package by.parfen.game.datamodel;

public class Invitation {

	Long id;

	String player1;
	String player2;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPlayer1() {
		return player1;
	}

	public void setPlayer1(String player1) {
		this.player1 = player1;
	}

	public String getPlayer2() {
		return player2;
	}

	public void setPlayer2(String player2) {
		this.player2 = player2;
	}

	@Override
	public String toString() {
		return String.format("id=%s, player1: '%s', player2: '%s'", this.getId(), this.getPlayer1(), this.getPlayer2());
	}

}
